package sjd.util;

public class Account {
	private String name;
	private String number;
	private String passwd;
	private int icon;
	public String toString()
	{
		return name;
	}
	public Account(String name)
	{
		this.name=name;
		this.number=null;
		this.passwd=null;
		this.icon=0;
	}
	public Account(String number,String name,String passwd)
	{
		this.name=name;
		this.number=number;
		this.passwd=passwd;
		this.icon=0;
	}
	public Account(String number,String name,String passwd,int icon)
	{
		this.name=name;
		this.number=number;
		this.passwd=passwd;
		this.icon=icon;
	}
	public String getNumber()
	{
		return number;
	}
	public String getName()
	{
		return name;
	}
	
	public String getPasswd()
	{
		return passwd;
	}
	public String getIcon()
	{
		return number;
	}
	public void setNumber(String number)
	{
		this.number=number;
	}
	
	public void setIcon(int icon)
	{
		this.icon=icon;
	}
	public void setName(String name)
	{
		this.name=name;
	}
	public void setPasswd(String passwd)
	{
		this.passwd=passwd;
	}

}
